<?php

require_once('inc.config.php');
$rid = $_GET["rid"];

if(!isset($rid)){
	header("Location:user_admin_rhlist.php");
	exit;
}

$uid = $myHouse->getPublisherIdByHid($rid, 1);


if(__login__==0||__user_prop__!=1||$uid!=__user_id__){
	header("Location:index.php");
	exit;
}


$useTemplate   = 'user_admin_rhdetail.html';

$page = new QuickSkin ($useTemplate);

template_ini($page);


$rinfo = $myHouse->getRhouseInfo($rid);

$page->assign($rinfo);

require_once("user_admin_left.php");

$page->output();


ob_end_flush();

?>
